/**
 * Created by sioxa on 2016/12/25 0025.
 */
import Vue from 'vue'
import Vuex from 'vuex'

import ApiService from './ApiService'
import MusicService from './MusicService'

Vue.use(Vuex)

export default new Vuex.Store({
	state: {
		user: {},
		token: null,
		searchType: {
			0: '1',
			1: '10',
			2: '100',
			3: '1004',
			4: '1006',
			5: '1000',
			6: '1009',
			7: '1002'
		}
	},
	modules: {
		ApiService,
		MusicService
	}
})
